import re
s = 'I love Python3.16 and 3.11'
p = '\\d\\.\\d+'
m1 = re.search(p, s)
print(m1)
print(m1.group())
print(m1.span())
m2 = re.findall(p, s)
print(m2)
